package com.cash.loan.modular.cash.transfer;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author Administrator
 * @Date 2018-09-29 16:10
 */
public class UpdateCateDto extends CateDto {

    @NotEmpty(message = "id不能为空")
    private Integer id;

    public UpdateCateDto() {
    }

    public UpdateCateDto(String name, String iconPath, Integer id) {
        super(name, iconPath);
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
